package star.oath.project.character.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import star.oath.project.trait.model.TraitDef;

import java.io.Serializable;

@Data
@TableName("character_trait")
public class CharacterTrait extends Model<CharacterTrait> implements Serializable {

    private static final long serialVersionUID = 1L;

    private String characterId;
    private String traitCode;

    @TableField(exist = false)
    private TraitDef traitInfo;

}
